import request from '@/utils/request'

// 查询网上缴费情况列表
export function listPaymoney(query) {
  return request({
    url: '/stureg/paymoney/list',
    method: 'get',
    params: query
  })
}

// 查询网上缴费情况详细
export function getPaymoney(id) {
  return request({
    url: '/stureg/paymoney/' + id,
    method: 'get'
  })
}

// 新增网上缴费情况
export function addPaymoney(data) {
  return request({
    url: '/stureg/paymoney',
    method: 'post',
    data: data
  })
}

// 修改网上缴费情况
export function updatePaymoney(data) {
  return request({
    url: '/stureg/paymoney/update',
    method: 'post',
    data: data
  })
}

// 删除网上缴费情况
export function delPaymoney(id) {
  return request({
    url: '/stureg/paymoney/delete/' + id,
    method: 'post'
  })
}
